@import "~pc/styles/lib_var.less";

.downloadContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contentContainer {
  position: relative;
  width: 288px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bgCommonHighest);
  border-radius: 8px;
  .mascot {
    position: relative;
    z-index: 1;
    bottom: -18px;
    height: auto;
    width: 100%;
    img {
      width: 100%;
    }
  }

  .mainContainer {
    position: relative;
    padding-top: 32px;
    background: var(--bgCommonHighest);
    border-radius: 8px;
    .closeBtn {
      position: absolute;
      top: 12px;
      right: 12px;

      svg {
        width: 24px;
        height: 24px;
        fill: var(--fc3);
      }
    }
  }

  .logo {
    width: auto;
    height: 24px;
    margin: 24px 0 0 24px;
  }


  .nodeName {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
  }

  .user {
    color: var(--firstLevelText);
    word-break: normal;
    word-wrap: break-word;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-style: normal;
    .nickName {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      max-width: 140px;
    }
  }

  .nodeName {
    padding: 4px 24px 16px;
    color: var(--firstLevelText);
  }

  .qrcode {
    display: flex;
    justify-content: center;
  }

  .shareQrCodeWrapper {
    width: 208px;
    height: 208px;
    .shareQrCode {
      padding: 16px;
      width: 100%;
      display: flex;
      border-radius: 4px;
      border: 1px solid var(--borderCommonDefault);
      canvas {
        border-radius: 4px;;
      }
    }
  }

  .tip {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--thirdLevelText);
    margin-top: 8px;
  }

  .footer {
    position: relative;
    display: flex;
    justify-content: center;
    background: var(--bgCommonHighest);
    border-radius: 8px;
    padding-bottom: 32px;
    .downloadBtn {
      margin-top: 16px;
      z-index: 1;
      width: 100%;
      width: 208px;
      border-radius: 8px;
    }

  }
}
